package com.boe.csb.core.dao;

import com.boe.csb.core.entity.po.BoeUserFtp;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface BoeUserFtpMapper {
    long countByExample(BoeUserFtpCriteria example);

    int deleteByExample(BoeUserFtpCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(BoeUserFtp record);

    int insertSelective(BoeUserFtp record);

    List<BoeUserFtp> selectByExampleWithRowbounds(BoeUserFtpCriteria example, RowBounds rowBounds);

    List<BoeUserFtp> selectByExample(BoeUserFtpCriteria example);

    BoeUserFtp selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BoeUserFtp record, @Param("example") BoeUserFtpCriteria example);

    int updateByExample(@Param("record") BoeUserFtp record, @Param("example") BoeUserFtpCriteria example);

    int updateByPrimaryKeySelective(BoeUserFtp record);

    int updateByPrimaryKey(BoeUserFtp record);
    
    Long selectFtpID(@Param("userId") Long userId,@Param("csbApiId") Long csbApiId);
    
    int updateByAppId(@Param("csbApiId") Long csbApiId,@Param("sql_id") String sql_id);
}